package com.charles.bigdata.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * SparkJob(抽象每个SparkJob的父类)
 */
@Component
@ConfigurationProperties(prefix = "spark")
public class SparkConfig {
	private String appName;

	private String master;

	private String sparkHome;

	public String getAppName() {
		return appName;
	}

	public void setAppName(String appName) {
		this.appName = appName;
	}

	public String getMaster() {
		return master;
	}

	public void setMaster(String master) {
		this.master = master;
	}

	public String getSparkHome() {
		return sparkHome;
	}

	public void setSparkHome(String sparkHome) {
		this.sparkHome = sparkHome;
	}

}
